package top.yaofengqiao.springcloudsimple.message.biz.domain.sms.repository;

import top.yaofengqiao.springcloudsimple.message.biz.domain.sms.model.entity.SmsRecordEntity;
import top.yaofengqiao.springcloudsimple.message.biz.domain.sms.model.valobj.SmsStatus;

/**
 * @author yfq
 * @date 2024/6/22 11:09
 * @description
 */
public interface ISmsRecordRepository {

    boolean save(SmsRecordEntity smsRecordEntity);

    long saveGetId(SmsRecordEntity smsRecordEntity);

    boolean changeStatus(long id, SmsStatus origin, SmsStatus target);
}
